package com.xx.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration//定义  这是spring的配置文件
@ComponentScan({"com.xx.dao","com.xx.service"})//定义扫描包
@PropertySource(value = {"Book.properties"},encoding = "utf-8")//读取properties文件信息
public class SpringConfig {
}
